<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>

                        <a class="btn btn-success btn-myexcel-export" href="javascript:;"><i class="fa fa-paper-plane-o"></i>導出</a>

                        {if !empty($taskname)}
                            <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('jdy/maintenance/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        {/if}

                        {if !empty($anchangname)}
                            <a href="javascript:;" class="btn btn-default" style="font-size:14px;color:dodgerblue;">
                                <span class="extend">
                                    案場:{$anchangname}
                                </span>
                                {if !empty($taskname)}
                                   <span class="extend">
                                        提醒:{$taskname}
                                    </span>
                                {/if}
                            </a>
                        {/if}

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('jdy/maintenance/edit')}" 
                           data-operate-del="{:$auth->check('jdy/maintenance/del')}" 
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
